My Tkinter filedialog is not working with my input and my if statement